/**
 * FileName: AtomicStampedReferenceTest
 * Author:   powersi
 * Date:     2021/3/30 14:19
 * Description:
 */
package com.zm.demo.core.concurrent;

import java.util.concurrent.atomic.AtomicStampedReference;

/**
 * Description: 
 * Author:      powersi
 * Date:        2021/3/30 14:19
 */
public class AtomicStampedReferenceTest {

    public static void main(String[] args) {
        AtomicStampedReference atomicStampedReference = new AtomicStampedReference(1,1);
        atomicStampedReference.compareAndSet(1,2,1,2);
    }
}
